package com.doctor.windflower_doctor.util;

import android.os.Environment;

import com.doctor.windflower_doctor.SystemApplication;

/**
 * <p>
 * 功能 常量池
 * </p>
 * 
 * <p>
 * Copyright 北京亚普拓信息咨询服务有限公司 2014 All right reserved.
 * </p>
 * 
 * @author 皮勉 时间 2014年9月25日 上午11:32:31
 * @version 1.0 </br> 最后修改人 无
 */
public interface Constent {
	String IMAGE_CARCH_PATH = Environment.getExternalStorageDirectory().toString() + "/com.doctor.windflower_doctor/.image";
	String AUDIO_CARCH_PATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/." + SystemApplication.getInstance().mContext.getPackageName()
			+ "/.audio";
	String PREFS_FILE = "yapot_fxz_doctor.prefs";

	/**
	 * URL : 数据请求域名
	 */
	 String URL = "http://182.92.79.214:3007/api/";
	//String URL = "http://192.168.199.178:3000/api/";
	/**
	 * URL_UPDATE : 检查更新
	 */
	 String URL_UPDATE = "http://182.92.79.214:3009/api/";
	//String URL_UPDATE = "http://192.168.199.178:3010/api/";

	 String RECORD_URL_ONLINE = "http://182.92.79.214:3006";
	//String RECORD_URL_ONLINE = "http://192.168.199.162:3011";
	/**
	 * URL_SOKET : soket ip
	 */
	 String URL_SOKET = "http://182.92.79.214:3007";
	//String URL_SOKET = "http://192.168.199.178:3000";

	/**
	 * URL_TOKEN_UPDATE : 更新token
	 */
	 String URL_TOKEN_UPDATE = "http://182.92.79.214:3002/api/";
	//String URL_TOKEN_UPDATE = "http://192.168.199.228:3002/api/";
	/**
	 * URL_1 : 反馈服务器
	 */
	String URL_1 = "http://182.92.79.214:3009";

	/**
	 * 接口
	 */
	String WEIGHT = "/api/notes/v2/weights?userid=";
	String TEMPERATURE = "/api/notes/v2/bt?userid=";
	String BELLYBAND = "/api/notes/v2/bellys?userid=";
	String BLOODPRESSURE = "/api/notes/v2/bps?userid=";
	String SLEEP = "/api/notes/v2/st?userid=";
	String SPORT = "/api/notes/v2/et?userid=";
	String QUICKENING = "/api/notes/v2/quicken?userid=";
	String SHIT = "/api/notes/v2/purge?userid=";
	String CHECKLIST = "/api/notes/v2/insepction?userid=";
	String ALL_GROUP_URL = "group/doctor/getAll?doctorId=";
	String ADD_URL = "group/doctor/add?doctorId=";
	String MOVE_URL = "group/doctor/change?doctorId=";
	String DELETE_URL = "group/doctor/delete?doctorId=";
	String EDIT_URL = "group/doctor/edit?doctorId=";
	String ALL_URL = "group/doctor/getUsers";
	String CHANGE_PASSWORD = "user/modify_pwd_telephone";
	String AUTHCODE_URL = "user/create_send_code";
	String LOGIN_URL = "doctor/login";
	String AUDIO_UPLOAD_URL = "http://audio.mobile.fengxz.com.cn/upload";
	/**
	 * GROUP_DOCTOR_GETALL : 获取当前医生的所有用户分组信息
	 */
	String GROUP_DOCTOR_GETALL = "group/doctor/getAll";
	/**
	 * ASK_DOCTOR_MYQUESTIONS : 获取我的问题
	 */
	String ASK_DOCTOR_MYQUESTIONS = "ask/doctor/myQuestions";
	/**
	 * ASK_DOCTOR_ISALLOWED : 我的未回复, 进行中的问题是否允许被回答
	 */
	String ASK_DOCTOR_ISALLOWED = "ask/doctor/isAllowed";
	/**
	 * GROUP_DOCTOR_GETUSER : 获取用户信息
	 */
	String GROUP_DOCTOR_GETUSER = "group/doctor/getUser";
	/**
	 * GROUP_DOCTOR_EDITREMARK : 编辑用户名称备注
	 */
	String GROUP_DOCTOR_EDITREMARK = "group/doctor/editRemark";
	/**
	 * GROUP_DOCTOR_EDITCONDITION : 编辑(新增)用户病情备注
	 */
	String GROUP_DOCTOR_EDITCONDITION = "group/doctor/editCondition";
	/**
	 * ASK_DOCTOR_USERQUESTIONS : 获取用户的提问历史
	 */
	String ASK_DOCTOR_USERQUESTIONS = "ask/doctor/userQuestions";
	/**
	 * GROUP_DOCTOR_CHANGE : 变更分组
	 */
	String GROUP_DOCTOR_CHANGE = "group/doctor/change";
	/**
	 * DIALOG_DOCTOR_ALLLOGS : 获取用户提出问题的所有对话记录
	 */
	String DIALOG_DOCTOR_ALLLOGS = "dialog/doctor/allLogs";
	/**
	 * ASK_QUESTIONHALL : 获取问题大厅提问
	 */
	String ASK_QUESTIONHALL = "ask/doctor/getAllUnansweredQuestions";
	/**
	 * ASK_NEWQUESTION : 获取新提问数目
	 */
	String ASK_NEWQUESTION = "ask/doctor/newQuestion";
	/**
	 * ASK_QUESTIONTYPE : 根据问题类型获取大厅提问
	 */
	String ASK_QUESTIONTYPE = "ask/doctor/allClassifications";
	/**
	 * USER_MESSAGE : 获取医生信息
	 */
	String USER_MESSAGE = "doctor/getInformation";
	/**
	 * API_FEEDBACKS_SUBMIT : 意见反馈
	 */
	String API_FEEDBACKS_SUBMIT = "/api/feedbacks/submit";

	/**
	 * DOCTOR_LOGIN : 医生登录
	 */
	String DOCTOR_LOGIN = "doctor/login";

	/**
	 * VERSIONS_UPDATE : 版本更新
	 */
	String VERSIONS_UPDATE = "versions/update";
	/**
	 * soket 事件分发
	 */

	/**
	 * DIALOG_DOCTOR_INIT : 初始化对话页
	 */
	String DIALOG_DOCTOR_INIT = "dialog_doctor_init";
	/**
	 * DIALOG_DOCTOR_POST_MESSAGE : 医生回复用户
	 */
	String DIALOG_DOCTOR_POST_MESSAGE = "dialog_doctor_post_message";
	/**
	 * DIALOG_DOCTOR_NEW_MESSAGE : 用户向医生追问
	 */
	String DIALOG_DOCTOR_NEW_MESSAGE = "dialog_doctor_new_msg";
	/**
	 * DIALOG_DOCTOR_EVALUATE : 用户评价
	 */
	String DIALOG_DOCTOR_EVALUATE = "dialog_doctor_evaluate";
	/**
	 * DIALOG_DOCTOR_CLOSE_QUESTION : 申请关闭问题
	 */
	String DIALOG_DOCTOR_CLOSE_QUESTION = "dialog_doctor_close_question";
	/**
	 * SYSTEM_DOCTOR_LOGOUT : Web端登录
	 */
	String SYSTEM_DOCTOR_LOGOUT = "system_doctor_logout";
	/**
	 * 常量
	 */
	String NAME = "name";
	String DOCTORID = "doctorId";
	String QUESTIONID = "questionId";
	String ACCOUNT_ID = "account_id";
	String USERID = "userId";
	String REMARK = "remark";
	String CONDITION = "condition";
	String TYPE = "type";
	String ID = "id";
	String USERIDS = "userIds";
	String GROUPID = "groupId";
	String TEXT = "text";
	String CONNECTION_FAIL = "连接失败";
	String APPSECRET = "appsecret";
	String CONTENT = "content";
	String DEVICENUMBER = "deviceNumber";
	String SYSTEMVERSION = "systemVersion";
	String FXZDOCTORVERSION = "fxzDoctorVersion";
	String SUBMITTER = "submitter";
	String KEYWORD = "keyword";
	String XINGE_TOKEN = "xinge_token";
}
